package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class GetOrder {

    @JSONField(name = "current")
    private int current;
    @JSONField(name = "pages")
    private int pages;
    @JSONField(name = "records")
    private List<RecordsDTO> records;
    @JSONField(name = "size")
    private int size;
    @JSONField(name = "total")
    private int total;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<RecordsDTO> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsDTO> records) {
        this.records = records;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    @NoArgsConstructor
    @Data
    public static class RecordsDTO {
        @JSONField(name = "area")
        private String area;
        @JSONField(name = "category")
        private String category;
        @JSONField(name = "consumeOrderId")
        private String consumeOrderId;
        @JSONField(name = "date")
        private String date;
        @JSONField(name = "imgUrl")
        private String imgUrl;
        @JSONField(name = "mid")
        private String mid;
        @JSONField(name = "nickName")
        private String nickName;
        @JSONField(name = "otherDesc")
        private String otherDesc;
        @JSONField(name = "payPrice")
        private double payPrice;
        @JSONField(name = "serviceLevel")
        private String serviceLevel;
        @JSONField(name = "showColor")
        private String showColor;

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getConsumeOrderId() {
            return consumeOrderId;
        }

        public void setConsumeOrderId(String consumeOrderId) {
            this.consumeOrderId = consumeOrderId;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getMid() {
            return mid;
        }

        public void setMid(String mid) {
            this.mid = mid;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getOtherDesc() {
            return otherDesc;
        }

        public void setOtherDesc(String otherDesc) {
            this.otherDesc = otherDesc;
        }

        public double getPayPrice() {
            return payPrice;
        }

        public void setPayPrice(double payPrice) {
            this.payPrice = payPrice;
        }

        public String getServiceLevel() {
            return serviceLevel;
        }

        public void setServiceLevel(String serviceLevel) {
            this.serviceLevel = serviceLevel;
        }

        public String getShowColor() {
            return showColor;
        }

        public void setShowColor(String showColor) {
            this.showColor = showColor;
        }
    }
}
